package de.homelabs.jaxbsandbox.domain;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
public class TemplateList {

	@XmlElement(required = true, name="template")
	private List<TemplateElement> templates = new ArrayList<TemplateElement>();

	public List<TemplateElement> getTemplates() {
		return templates;
	}

	public void setTemplates(List<TemplateElement> templates) {
		this.templates = templates;
	}

}
